/**
 * 
 */
package com.cqcis.uip.module.salary.oper.dao;

import java.util.List;

import org.springframework.jdbc.core.support.JdbcDaoSupport;

import com.cqcis.uip.base.framework.utils.JdbcUtil;
import com.cqcis.uip.module.salary.oper.domain.Menu;

/**
 * 
 * @author 李世军
 *
 * 创建于 2012-3-7 下午01:06:22
 */
public class MenuDao extends JdbcDaoSupport {
	
	private static String SELECT_SQL = " select id, name, url, is_display, is_leaf, is_navi, parent_id from website_menu ";
	
	/**
	 * 查询
	 * @return
	 */
    public List<Menu> query() {
    	return JdbcUtil.queryForList(this, Menu.class, SELECT_SQL);
    }
	
}
